package cn.elricyu.tt.bean.city;

public class Building {
	private String id;
	private String buildid;
	private String buildname;
	private String intro;
	private String cityid;
	private String playerid;
	private int buildlevel;
	private int nextcopper;
	private long cdtime;
	private long lastcdtime;
	private long lastupdatetime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBuildid() {
		return buildid;
	}

	public void setBuildid(String buildid) {
		this.buildid = buildid;
	}

	public String getBuildname() {
		return buildname;
	}

	public void setBuildname(String buildname) {
		this.buildname = buildname;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getCityid() {
		return cityid;
	}

	public void setCityid(String cityid) {
		this.cityid = cityid;
	}

	public String getPlayerid() {
		return playerid;
	}

	public void setPlayerid(String playerid) {
		this.playerid = playerid;
	}

	public int getBuildlevel() {
		return buildlevel;
	}

	public void setBuildlevel(int buildlevel) {
		this.buildlevel = buildlevel;
	}

	public int getNextcopper() {
		return nextcopper;
	}

	public void setNextcopper(int nextcopper) {
		this.nextcopper = nextcopper;
	}

	public long getCdtime() {
		return cdtime;
	}

	public void setCdtime(long cdtime) {
		this.cdtime = cdtime;
	}

	public long getLastcdtime() {
		return lastcdtime;
	}

	public void setLastcdtime(long lastcdtime) {
		this.lastcdtime = lastcdtime;
	}

	public long getLastupdatetime() {
		return lastupdatetime;
	}

	public void setLastupdatetime(long lastupdatetime) {
		this.lastupdatetime = lastupdatetime;
	}

	public long getLevelupNeedTime() {
		return cdtime * 60 * 1000;
	}

	public int getBuildNextLevel() {
		return buildlevel + 1;
	}

}
